package online.longzipeng.householdbillssystem.business.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Author: lzp
 * @Date: 2021/2/10 14:22
 * 用户登录VO模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户登录对象",description = "请求参数类")
public class UserLoginVO {

    @ApiModelProperty(value = "用户名",example = "lzp",required = true)
    @NotBlank(message = "账号或密码不能为空！！")
    private String userName;

    @ApiModelProperty(value = "密码",example = "lzp666",required = true)
    @NotBlank(message = "账号或密码不能为空！！")
    private String password;
}
